use cc::Build;
fn main() {
    Build::new()
        .file("native/thread_id.c")
        .compile("tonglun_threadid");

    // rebuild
    println!("cargo:rerun-if-changed=native/thread_id.c");
    println!("cargo:rerun-if-changed=build.rs");
}
